package com.ray.bean;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

//车间生产值周期
@Data
public class WorkshopProductionCycleBean implements Cloneable, Serializable{
	private String id;
	private String userName;//使用者名称
	private final boolean locked=false;
	private long sortKey;
	private String productionLine;//生产线
	private String workshopName;//车间名称
	private Integer orderId;//顺序
	private String status;//状态
	private String creater; //创建者
	private String creationTime; //创建时间
	private String lastModifyTime; //上一次修改时间
	private String lastModifier; //上一次修改人
	private Double processCycle; //流程周期
	private Double repairCycle; //返修周期
	private Double dailyCapacity; //日产能
	private String workshopProductionCycleCode; //车间生产周期代码
	private String workshopProductionCycleName; //车间生产周期名称
	private String company;//公司
	private List<ProcessBean> processList;
	private String processingObject;//加工对象
	private String deptId;//部门id
	private String turnover;//周转余量
	private int isFinish;//无或0未生产   1 生产完成 2 生产未完成  3已完成，单最后一道工序不是交接出库
    //另外加的字段
	private double tuenoverTwo;//double类型的周转余量
	private String finishTime;//完成时间
	private String yuJiTime;//预计时间
	private String peopleSetTime;//人工设置时间
	private double lossRate;//损耗率
	private Double sort;//排序
	private int maixStatus;//配套 1黑色已完成   2红色未到齐物料加不配套 3 橙色已到齐，并行车间未到齐 4 绿色已配套
	private List<QueryOrderPageBean> workShopMaterialDetailList;//车间物料采购入库详情
	private String orderNo;//订单编号
	
	private List<String> colorList;//车间加工颜色列表
	
	
	@Override
	public WorkshopProductionCycleBean clone() throws CloneNotSupportedException {
		WorkshopProductionCycleBean stu = null;  
	        try{  
	            stu = (WorkshopProductionCycleBean)super.clone();  
	        }catch(CloneNotSupportedException e) {  
	            e.printStackTrace();  
	        }  
	     return stu;  
	}
}
